package hlhj.fhp.supreme.adapters

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import hlhj.fhp.supreme.R
import hlhj.fhp.supreme.javabean.SearchBean

/**
 * Created by Never Fear   on 2018\7\16 0016.
Never More....
 */
class SearchAdp(datas:ArrayList<SearchBean.DataBean>) :BaseQuickAdapter<SearchBean.DataBean,BaseViewHolder>(R.layout.search_item,datas) {
    override fun convert(helper: BaseViewHolder?, item: SearchBean.DataBean?) {
            helper?.setText(R.id.itemTittle,item?.title)
            helper?.setText(R.id.itemTime,item?.create_time)
        helper?.setText(R.id.itemPrice,"￥${item?.money}")
    }
}